﻿using System;
using System.Runtime.Serialization;
using System.Collections.Generic;

namespace Ops.Mpc.Wcf
{
    [DataContract(Namespace = "Ops.Services")]
    public class ServiceHeader
    {
        public ServiceHeader()
        {
            this.Data = new Dictionary<string, string>();
            this.CallGuid = Guid.NewGuid();
        }
        [DataMember]
        public Guid CallGuid { get; set; }

        [DataMember]
        public string SourceApplication { get; set; }

        [DataMember]
        public string SourceMethod { get; set; }

        [DataMember]
        public Dictionary<string, string> Data { get; set; }
    }
}
